package com.xxxx.api.enums;

/**
 * 订单状态
 * @author Lionel
 */
public enum OrderStatus {
    //0待确定 1 已确定 2已收货 3 已取消 4 完成 5作废
    no_confirm((byte) 0,"待确认"),
    has_confirm((byte) 1,"已确定"),
    has_received((byte)2,"已收货"),
    cancled((byte)3,"已取消"),
    completed((byte)3,"已完成"),
    discard((byte)5,"已作废");

    private Byte status;
    private String message;

    private OrderStatus(Byte status, String message) {
        this.status = status;
        this.message = message;
    }

    public Byte getStatus() {
        return status;
    }
}
